package com.usian.storage.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.usian.storage.dao.TbStroageDao;
import com.usian.storage.pojo.TbStroage;
import com.usian.storage.service.TbStroageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TbStroageServiceimpl extends ServiceImpl<TbStroageDao, TbStroage> implements TbStroageService {
    @Autowired
    private TbStroageDao tbStroageDao;

    @Override
    public void deduct(String commodityCode, int count) {
        tbStroageDao.deduct(commodityCode,count);
    }
}
